package com.ycl.plus.lm.common.mybatis.core.domain;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class BaseChangeStatusEntity<T> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    private T status;
}
